package jiaxa.com.jsbridge;

import android.app.Application;
import android.content.Context;

import org.xutils.x;


/**
 * Created by jiaxa on 2017/11/21.
 */

public class AppApplication extends Application {
    private static Context mAppContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mAppContext = getApplicationContext();
        x.Ext.init(this);
//        x.Ext.setDebug(BuildConfig.DEBUG); // 是否输出debug日志, 开启debug会影响性能.
    }

    public static Context getAppContext() {
        return mAppContext;
    }
}
